<style tyle="text/css">
  .redWord {
    color: #F00
  }
</style>
<div class="bg-light lter b-b wrapper-md">
  <h1 class="m-n font-thin h3">完善企业信息</h1>
</div>
<div class="panel panel-default">
  <div class="panel-body">
    <form name="form" class="form-horizontal">
      <div class="form-group">
        <h4 class="col-lg-4 control-label">企业名称：</h4>
        <h4 class="col-lg-4 control-label text-left">{{info.company_name}}</h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>统一社会信用代码：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.company_code">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>营业执照编号：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.business_license_code">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>企业注册地址：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.registered_address">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>公司类型：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.company_type">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>注册资金汉字大写：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.registered_capital">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>成立时间：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date.lable" is-open="date.opened" 
            readonly close-text="关闭" current-text="今天" clear-text="清除" />
          <span class="input-group-btn">
            <button type="button" class="btn btn-default"
                ng-click="dateOpen($event, date)">
              <i class="glyphicon glyphicon-calendar"></i>
            </button>
          </span>
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>营业期限：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date.lable1" is-open="date.opened1" 
            readonly close-text="关闭" current-text="今天" clear-text="清除" />
          <span class="input-group-btn">
            <button type="button" class="btn btn-default"
                ng-click="dateOpen1($event, date)">
              <i class="glyphicon glyphicon-calendar"></i>
            </button>
          </span>
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>公司电话、传真：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.phone">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>公司邮箱：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.company_email">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>负责人名字：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.responsible_name">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>负责人身份证号：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.responsible_no">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>负责人手机：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.responsible_mobile">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>联系地址：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.contact_address">
        </h4>
      </div>
      <!-- <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>法人：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.juridical_person">
        </h4>
      </div> -->
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>经营范围：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.business_scope">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>营业执照：</h4>
        <h4 class="col-lg-5">
          <img ng-src="{{company.business_license_img_url}}" width="350" height="200" ng-model="company.business_license_img_url">
          <input type="file" nv-file-select uploader="uploader" accept="image/*"/> <br/>
          <ul class="list-group">
            <li class="list-group-item" ng-repeat="item in uploader.queue">
              文件名:<span ng-bind="item.file.name"></span>
              <button type="button" class="btn btn-default btn-xs" ng-click="item.upload()">
                <span class="glyphicon glyphicon-upload"></span> 上传
              </button>
              <div class="progress" style="margin: 5px 0px">
                <div class="progress-bar" role="progressbar" ng-style="{'width': uploader.progress + '%' }"></div>
              </div>
            </li>
          </ul>
        </h4>
      </div>
      <button class="col-lg-2 col-lg-offset-4 btn btn-success" type="button" 
        ng-click="save()" ng-show="!company.audit_state||(company.audit_state == '0' || company.audit_state == '4')">保 存</button>
    </form>

  </div>
</div>
